The dynamics of electoral participation