Effects of Weak Localization and Electron–Electron Interaction in GaAs–AlGaAs Heterostructures