Aspects of aperiodic order: Spectral theory via dynamical systems