Organization of cells in magnetotactic multicellular aggregates