Statistical Mechanics and Its Chemical Applications