The congruence energy: a contribution to nuclear masses, deformation energies and fission barriers