Rafael Nadal won his second US Open title and 13th Grand Slam crown after defeating Novak Djokovic 6-2 3-6 6-4 6-1 at Flushing Meadows in New York.