Electronic structure and optical property of semiconductor nanocrystallites