An allosteric mechanism for the acetylcholine receptor