Comparative analysis of the effects of electron and hole capture on the power characteristics of a semiconductor quantum-well laser