Connection between quasielastic Raman scattering and free volume in polymeric glasses and supercooled liquids