Evolutionary flexibility of protein complexes