A coordinated voltage control scheme based on linearized power flow functions for non-optimal and optimal problems