Detecting Structured Language Alternations in Historical Documents by Combining Language Identification with Fourier Analysis