Structural, microchemical and superconducting properties of ultrathin NbN films on silicon