The influence of growth conditions on the growth rate and composition of GaAs and GaInAs alloys grown by chemical beam epitaxy