Millions have voted in parliamentary elections in Scotland and Wales, and local elections in England.