Manipulating spin polarization of titanium dioxide for efficient photocatalysis