Surface reactions of radicals during deposition of amorphous semiconductors by photochemical decomposition of molecular hydrides