Theoretical study of the microscopic solvation of alkali and alkaline-earth monohydroxides in (H2O)m (m ≤ 3) clusters