An Introduction to Population Genetics: Theory and Applications