Doping and hydrogen in wide gap oxides