Democràcia, protestes i transicions polítiques