Optical waveguides in GaAs–AlGaAs epitaxial layers