Collective behavior emerges from genetically controlled simple behavioral motifs in zebrafish