In a refrigeration system fitted with a water-cooled condenser, what is the purpose of the water regulating valve?