Properties of chemical vapour deposited nanocrystalline TiO2 thin films and their use in dye-sensitized solar cells