GaAs-based quamtum well and quamtum dot light-emitting diodes and lasers for 1.3 and 1.55 m emission