One-Step Facile Synthesis of Cobalt Phosphides for Hydrogen Evolution Reaction Catalysts in Acidic and Alkaline Medium.