Diffusion NMR in periodic media: efficient computation and spectral properties