Electron spectroscopy studies of titanium boronitrides