Energy distribution of ions bombarding TiO2 thin films during sputter deposition