Infrared imaging of sunspots and faculae at the photospheric opacity minimum