Dehydrogenation reactions in Mg+(H2O)n clusters