Study by experts at Imperial College London and published by BMJ looked at health data and voting figures from last year’s general election