Allosteric cooperation in a de novo-designed two-domain protein