PVP-assisted transformation of a metal-organic framework into Co-embedded N-enriched meso/microporous carbon materials as bifunctional electrocatalysts.