Everybody follows the crowd? Effects of opinion polls and past election results on electoral preferences