Brillouin scattering and refractive index measurements on low temperature liquids. I. Methane, CH4 and CD4