How the James Webb Space Telescope's infrared detectors will open new vistas in astronomy