Structural and electrochemical stabilization enabling high-energy P3-type Cr-based layered oxide cathode for K-ion batteries