Vertical ultrathin MoS2 nanosheets on a flexible substrate as an efficient counter electrode for dye-sensitized solar cells.