Theoretical study of the spectroscopy of the alkali oxides LiO, NaO, and KO