On the origin of IR spectral changes upon protein folding