Determination of the vapor-liquid coexistence curve and the critical parameters for refrigerant 502