Surface Waves in Geomechanics: Direct and Inverse Modeling for Soils and Rocks