Moisture analyzer for natural gas glycol dehydration