Stress-induced splitting of emission lines from excitonic molecules in CdS and ZnO