Magnetism and half-metallicity at the O surfaces of ceramic oxides