Astronomical demonstration of an infrared upconverter