Decarboxylation and functionalization of aryl/heteroarylacetic acids for the synthesis of heterocycles and active pharamaceutical ingradients