Frequency-dependent loss in amorphous semiconductors