Differential algebras of Legendrian links