Quantum yield of semiconductor nanocrystals in controlled environment