High performance lithium-ion and lithium–sulfur batteries using prelithiated phosphorus/carbon composite anode