Nanostructured metal phosphide-based materials for electrochemical energy storage