First Principles Studies of the Surface Chemistry of NiFe2O4 and NixCo3-xO4 Spinel