Tunable dual-wavelength grating-coupled surface-emitting diode laser for THz frequency optoelectronics