Properties of alkali metal atoms deposited on a MgO surface: A systematic experimental and theoretical study