Nitrogen-doped graphene-rich catalysts derived from heteroatom polymers for oxygen reduction in nonaqueous lithium-O2 battery cathodes.