Turkish President Erdogan has threatened to block Sweden's NATO bid over the burning of Quran by a right-wing politician.