Structural basis of AMPK regulation by adenine nucleotides and glycogen