An introduction to biogas and biomethane