Photoelectron spectroscopic study of NbSe3 and TaSe3