300 keV Ar ion induced effects in GaAs and 4H-SiC