Synthesis of an array of amides by aluminium chloride assisted cleavage of resin-bound esters