Diimide reduction of carboxylated styrene–butadiene rubber in latex stage