Analysis of flared high-power semiconductor lasers