Conduction mechanisms in amorphous and disordered semiconductors explained by a model of medium-range disorder of composition