Quasicrystals, Diophantine approximation and algebraic numbers