Soft chemistry routes for the preparation of Ag-CoFe2O4 nanocomposites