Microstructural studies on polypyrrole