Maturation of the proteasome core particle induces an affinity switch that controls regulatory particle association