Electronic Structure and Optical Properties of Semiconductors