The application of diffuse reflectance spectroscopy to inorganic chemistry