Self-organization, competition, and succession in the dynamics of scientific revolution