Boundary-Layer corrections for stress and strain fields in randomly heterogeneous materials