Synthesis of silver nanoparticles decorated on core-shell structured tannic acid-coated iron oxide nanospheres for excellent electrochemical detection and efficient catalytic reduction of hazardous 4-nitrophenol