Chaotic behavior in nonlinear Hamiltonian systems and equilibrium statistical mechanics