LinkNER: Linking Local Named Entity Recognition Models to Large Language Models using Uncertainty