Effects of obstruction on ureteral function