Reconstructions of GaAs and AlAs surfaces as a function of metal to As ratio