Characterisation of contaminants in biogas before and after