Alginate based nanocomposites with magnetic properties