Application of charge-coupled devices to infrared detection and imaging