Detection of H2O in natural gas pipelines