Social Macroevolution: Growth of the World System Integrity and a System of Phase Transitions