Reversible Switching of the Magnetic Orientation of Titanate Nanosheets by Photochemical Reduction and Autoxidation.