Electrostatic shocks as the source of discrete auroral arcs