An Affine Arithmetic-Based Framework for Uncertain Power Flow and Optimal Power Flow Studies