The effect of the condensed-phase environment on the vibrational frequency shift of a hydrogen molecule inside clathrate hydrates