Band structure calculation for GaAs and Si beyond the local density approximation