Elucidating the Mechanism of Nitrogen Doping in Graphene Oxide: Structural Evolution of Dopants and Role of Oxygen