Mesoporous TiO2 based membranes for water desalination and brine processing