A hardness and softness theory of bond energies and chemical reactivity