Radiation by arbitrary sources in anisotropic stratified media