Continued fraction expansions of algebraic numbers