Electrical conduction in amorphous boron and silicon