Protein dynamics and the allosteric transitions of pentameric receptor channels