Diamond layers grown by CVD on NbN systems and NbN/SiO2 devices