Semiconductor Photonics: Principles and Applications