Highly enantioselective amide ligation by prior thiol capture