Migration and urban-rural population redistribution in the UK and US