Dynamic model of methane–water diffusion