Causes and consequences of kidney loss in patients with nephrolithiasis