Semiconductor Laser Cavity Engineering for Coherent and Low-coherence Light Emission