Structural characterization of amorphous silicon and germanium