Steady-state deformation of a vesicle in alternating electric fields