Dynamics of the hydrate and amide groups of crystalline ribonuclease and lysozyme