Identification of energy dissipation in structural joints by means of the energy flow analysis