Self-assembled magnetic nanostripes by organic patterning