Oriented self-assembly of cubic FePt nanoparticles