Rururban gentrification in intermediate cities