Frequency-dependent loss in sandwich samples of hydrogenated amorphous silicon