ionic hydrides are formed by