Influence of post-pyrolysis treatment on physicochemical properties and acid medium stability of magnetic carbon nanocomposites