Application of internal reflection spectroscopy to the study of adsorbed layers at interfaces