Direct numerical simulation of the effect of an electric field on flame stability