Phase separation during mixing of partially miscible fluids under near-critical and supercritical conditions, and the phenomenon of “uphill diffusion”