Regulated selection of germinal-center cells into the memory B cell compartment