High-power pulsed lasers based on heterostructures with narrow and wide waveguides