Acid catalysed Beckman rearragement:a comparison between homogeneous and heterogeneous catalytic systems