Effects of viscosity on phase separation of liquid mixtures with a critical point of miscibility