Boosting the interlayer-confined nitrate reduction reaction by in situ electrochemical potassium ion intercalation