An empirical analysis of voting patterns in four battleground states of the 2016 US presidential election