In which of the following compounds does hydrogen form ionic compounds?