Inelastic Neutron Spectra and the Vibrational Modes of the Hydrogen Layer in Alkali and Alkaline-Earth Hydroxides