Diamond Photonic Devices For Metrology And Spectroscopy Applications.