Hydrogen insertion in oxides