Optically transparent boron-doped nanocrystalline diamond films for spectroelectrochemical measurements on different substrates