Nonlinear-optical frequency-doubling metareflector: pulsed regime