Photocatalytic membrane reactors for wastewater treatment