The development of sol–gel derived TiO2 thin films and corresponding memristor architectures