Precise synthesis of N-doped graphitic carbon via chemical vapor deposition to unravel the dopant functions on potassium storage toward practical K-ion batteries