Experimental determination of critical points of pure components and binary mixtures using a flow apparatus