Long-wavelength infrared photoinduced switching of a resonant tunneling diode using the intersubband transition