Effect of ion-beam induced disorder on optical interband transitions in Si and GaAs