Energy storage mechanisms of anode materials for potassium ion batteries