The US government has approved the $23bn (£18bn) sale of 40 new F-16 fighter jets to Turkey - a move that had been long delayed - after Ankara ratified Sweden's accession to Nato.