Layered zirconium phosphate and phosphonate as heterogeneous catalyst in the preparation of pyrroles