Time-averaged and time-dependent energy-related quantities of waves propagating in inhomogeneous viscoelastic anisotropic media