Quantum sensing and imaging in the infrared