Borehole wave propagation in isotropic and anisotropic media : three-dimensional finite difference approach