Solitons in semiconductor microstructures with a two-dimensional electron gas