Continuous-wave operation and mirror loss of a U-shaped GaAs/AlGaAs laser diode with two totally reflecting mirrors