Crises, learning capacity, and integration : the case of the EU