Theoretical investigation of the X 2Σ+, A 2Π, and B 2Σ+ states of LiAr and LiKr