Seismic S-waves are transverse waves, while seismic P-waves are longitudinal waves. Describe the difference between transverse waves and longitudinal waves in terms of the direction of their oscillations relative to the direction of energy transfer.