Shape of passively mode-locked laser pulses