Theory of electric-field-controlled surface ferromagnetic transition in metals