Hydrophobic membranes for system monitoring underwater gas pipelines