Synergistically optimizing electronic structure and reducing ions transport resistance by oxygen functional groups and defects in carbon for superior sodium capture and potassium storage capability