Dynamic analysis of layered systems under a moving harmonic rectangular load based on the spectral element method