Preparation and properties of TiO2 varistors