Protection of catalytic cofactors by polypeptides as a driver for the emergence of primordial enzymes