Structural studies of polypyrroles: oligomerization mechanism of N-methacryloyl pyrrole