Spectral element method for stability analysis of milling processes with discontinuous time-periodicity