Seismic waves in stratified anisotropic media