Thermal resistance analysis of Buried-Heterostructure and Shallow-Ridge lasers