A confocal Raman imaging study of an optically transparent boron-doped diamond electrode