Understanding just urban transitions