A model for epitaxial lateral overgrowth of GaAs by liquid-phase electroepitaxy