Influence of Heat Treatment on Structure and Charge Capacity of Sol–Gel Produced TiO2 Films