A generalization of p-boxes to affine arithmetic