Substrate selection by the proteasome during degradation of protein complexes