Quantum dots based superluminescent diodes and photonic crystal surface emitting lasers