Comparative analysis of cavity length-dependent temperature sensitivity of GaInNAs quantum dot lasers and quantum well lasers