Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using infra-red light for analysing solids; Preparation of samples therefor