Localization of excitons in ultrathin CdS/ZnS quantum structures