Antigen presentation by MHC-II is shaped by competitive and cooperative allosteric mechanisms of peptide exchange