Hydrogen-related effects in diluted nitrides