Application of nitrogen-doped TiO2 nano-tubes in dye-sensitized solar cells