Investigation of catalytic effects of the proton and Lewis acids on oligomerization and chemical polymerization of pyrrole