Linear and nonlinear elastic wave propagation in a fluid-filled borehole