Quantification of the truncation errors in finite-difference time-domain methods