Extracting near-borehole P and S reflections from array sonic logging data