Molecular spectroscopy for metallurgists. Fundamentals and application