Detecting mid-infrared light by molecular frequency upconversion in dual-wavelength nanoantennas