Shock-induced borehole waves in fractured formations