Aerogel-based magnetic nanocomposites for water decontamination