Kernel Formula for Kohn-Nirenberg Operators