Preparation and thermal stability of doped TiO2 composite membranes by the sol–gel process