Operando Analysis of Electron Devices Using Nanodiamond Thin Films Containing Nitrogen-Vacancy Centers