Radio-frequency glow discharges in methane gas: modelling of the gas-phase physics and chemistry