Atomic and electronic structure of amorphous Si from first-principles molecular-dynamics simulations.