An introduction to the principles of physical chemistry, from the standpoint of modern atomistics and thermodynamics