Application of a causal PML absorber to the solution of electromagnetic scattering problems in the time domain by the finite element method