A stochastic differential equation approach to the analysis of the 2017 and 2019 UK general election polls