Empirical study of how peer-production groups devolve into oligarchies