Electronic and optoelectronic properties of semiconductor structures