Thermal decomposition kinetics of polypyrrole and its star shaped copolymer