Dynamic light-scattering studies of longitudinal and shear waves in a molecular liquid