Control of defects in the heteroepitaxial growth of GaAs on silicon