Synthesis and characteristics of poly(3-pyrrol-1-ylpropanoic acid) (PPyAA)–Fe3O4 nanocomposite