AB Initio Calculations of Electronic Surface States of Transition Metal Oxides and of the Superexchange Coupling in Oxo-bridged Transition Metal Complexes