Theoretical Investigation of the Electronic Structure and Spectra of Mg(2+)He and Mg(+)He.