General method for the synthesis of 5-arylpyrrole-2-carboxylic acids