The structure of tetrahedrally coordinated amorphous semiconductors