Controllable synthesis of N-doped hollow, yolk-shell and solid carbon spheres via template-free method