Understanding the Roles of Electrogenerated Co3+ and Co4+ in Selectivity-Tuned 5-Hydroxymethylfurfural Oxidation.