UK political leaders including PM Boris Johnson and Labour opposition leader Jeremy Corbyn cast their votes in the general election.