Critical REV Size of Multiphase Flow in Porous Media for Upscaling by Pore-Scale Modeling