On the propagation of waves in layered anisotropic media in generalized thermoelasticity