One-pot synthesis of amides from carboxylic acids activated using thionyl chloride