Seismic wave propagation in and around boreholes