An Introduction to Electronic and Ionic Materials