Mathematical quasicrystals and the problem of diffraction