Generating electrically tunable optical vortices by a liquid crystal cell with patterned electrode