Effect of temperature and injection current on characteristics of TO-CAN packaged Fabry–Perot laser diode