An Introduction to the Theory of Superconductivity