Mapping of GaAs and Si wafers and ion-implanted layers by light-induced scattering and absorption of IR light