Facile synthesis of amino-functionalized titanium metal-organic frameworks and their superior visible-light photocatalytic activity for Cr(VI) reduction.