Theresa May, Jeremy Corbyn, Tim Farron and other party leaders cast their votes at polling booths across the country.