The growth of CdS in sealed silica capsules