Campaign duration and election outcomes