High-efficiency Ni–P catalysts in amorphous and crystalline states for the hydrogen evolution reaction