Visualization of bubble detachment and coalescence under the influence of a nonuniform electric field