Stability study of carbon-based counter electrodes in dye-sensitized solar cells