Anchoring gold nanoparticles inside polyaniline shells with magnetic cores for the enhancement of catalytic stability