In a typical light aircraft electrical system, what is the primary function of the voltage regulator?