Monolithic photonic integration of suspended light emitting diode, waveguide and photodetector