Hamiltonian 2-forms in Kähler geometry, III extremal metrics and stability