Normal Forms and Stability of Hamiltonian Systems