Hydrogen bonded dimers and polymers involving hydrogen fluoride, water, and ammonia