Energy Spectra Of Dislocations In Silicon And Germanium