On the mechanism of electrospraying