Thiol-activated sodium borohydride reduction of carboxylate ester