Electronic properties of hydrogen-related complexes in pure semiconductors