Protein dynamics in solution and in a crystalline environment: a molecular dynamics study.