An Introduction to the Physics and Electrochemistry of Semiconductors: Fundamentals and Applications