Chaos in the Hamiltonian mean-field model.