Chemical and magnetic functionalization of graphene oxide as a route to enhance its biocompatibility