Formation of high-power sharpened pulses of required profile in a laser amplifying system