Stability bounds for nonlinear dispersive Hamiltonian partial differential equations