The core excitation of pyridine and pyridazine: An electron spectroscopy and ab initio study