Nonflammable phosphate-based electrolyte for safe and stable potassium batteries enabled by optimized solvation effect