Evaluation of the quality of GaAs epitaxial layers and their interfaces from analysis of the exciton absorption spectra