Strong and weak coupling limits in optics of quantum well excitons