Threshold Current of Ridge Waveguide Laser in Gain and Index Guiding Regimes Including End Facet Reflectivity