On the measurement of densities of states in amorphous semiconductors