Exploring the factors determining the dynamics of different protein folds