First-principles equation of state calculations of warm dense nitrogen