Effect of growth conditions on incorporation of Si into Ga and As sublattices of GaAs during molecular-beam epitaxy