MOF-templated nitrogen-doped porous carbon materials as efficient electrocatalysts for oxygen reduction reactions