What is the primary purpose of the thermostatic expansion valve as used in most refrigeration plants?