A Spatially Confined gC3N4-Pt Electrocatalyst with Robust Stability.