Photoemission and electron-energy-loss-spectroscopy study of BaRuO3.