Spectroscopy in inorganic chemistry