Asymptotic approximation for ionic-covalent configuration mixing in hydrogen and alkali hydrides