Composite anion exchange membranes with functionalized hydrophilic or hydrophobic titanium dioxide