Metal Grating Based Interfacing to and Probing of Nanophotonic Circuits door