The Infrared Pioneers—II. Macedonio Melloni