Excitons and polaritons in AlGaAs semiconductor alloys