Theoretical study of elastic wave propagation in inhomogeneous, thermoelastic and visco-elastic layered media