Eco-efficient synthesis route of carbon-encapsulated transition metal phosphide with improved cycle stability for lithium-ion batteries