Vibrational spectroscopic studies of the divalent metal ion effect on DNA structural transitions