Absorption edge and internal electric fields in amorphous semiconductors