Structural order in amorphous silicon and its alloys: Raman spectra and optical gap