The controllable synthesis of chain-like TiO2 networks with multiwalled carbon nanotubes as templates and its application for dye-sensitized solar cells