Performance improvement of macroporous polypyrrole sensor for detection of ammonia by incorporation of magnetite nanoparticles