The formal valence shell model for structure of amorphous semiconductors