Study of the electronic structure of molecules by the self-consistent discrete variation Xα method in a basis of numerical hartree-fock functions IV. Calcuation of the ionization potentials and energies of the optical transitions for the permanganate ion