Functional determinants of protein assembly into homomeric complexes