Basic mechanisms of structural relaxation and diffusion in amorphous silicon