Bimodal regulation of adenylate cyclase