Dual-thermistor temperature control for semiconductor lasers