Self-restriction to form in-situ N,P co-doped carbon-coated LiFePO4 nanocomposites for high-performance lithium ion batteries