Infrared studies of water in crystalline hydrates: NaClO4•H2O, LiClO4•3H2O, and Ba(ClO4)2•3H2O