Effect of recaesiation on AlGaAs photocathode: Ab initio calculations and experimental study