An Fe3O4@SiO2@polypyrrole magnetic nanocomposite for the extraction and preconcentration of Cd(II) and Ni(II)