Transit-time of electromagnetic Gaussian packets traversing nonlinear periodic layered systems