Lewis Hamilton extended his lead in the Formula 1 drivers' championship after winning the Italian Grand Prix.