The structural basis of allosteric regulation in proteins