Circuit-Level Modeling and Simulation of Semiconductor Lasers