Statistical Mechanics and Theoretical Models of Phase Transitions