P-wave fault-plane solutions and the generation of surface waves by earthquakes in the western United States