Density dependence of the ground-state energy of excess electrons in liquid methane