The effect of hydrogen bonds on diffusion mechanism of water inside single-walled carbon nanotubes.