Calculation of bias due to solute redistribution in an irradiated binary alloy: Surfaces of a thin foil