Gravar-mail: Directed assembly of magnetic and semiconducting nanoparticles with tunable and synergistic functionality