Infrared synchrotron radiation from an undulator