Optical properties of semiconductor nanocrystals