Theoretical study of the electronic state and H-elimination reactions for solvated magnesium cluster ions.