Active sites and mechanisms for oxygen reduction reaction on nitrogen-doped carbon alloy catalysts: Stone-Wales defect and curvature effect.