Velocity Dispersion and Wave Attenuation of Sandstone and Shale under Different Pressures and Saturations in Seismic Frequencies