Ions Induced Nanostructures in Si and GaAs