Dielectric response function and stopping power of a two-dimensional electron gas.