Phosphorus-based materials for high-performance rechargeable batteries