An Introduction to the Physics of Ferroelectrics