An efficient, bifunctional catalyst for lithium–oxygen batteries obtained through tuning the exterior Co2+/Co3+ ratio of CoOx on N-doped carbon nanofibers