CoP and Ni2P implanted in a hollow porous N-doped carbon polyhedron for pH universal hydrogen evolution reaction and alkaline overall water splitting.