A 57-year-old man is evaluated in the emergency department for a 3-day history of left inguinal pain and gross hematuria. He reports no history of kidney stones or kidney disease. Medical history is notable for hypertension and dyslipidemia. Medications are amlodipine and atorvastatin.

On physical examination, temperature is 37.2 °C (98.9 °F), blood pressure is 129/78 mm Hg, pulse rate is 96/min, and respiration rate is 12/min. BMI is 24. There is no left costovertebral angle tenderness.

Laboratory studies show normal complete blood count, serum electrolytes, blood urea nitrogen, and serum creatinine. Dipstick urinalysis reveals 3+ blood, trace protein, and negative leukocyte esterase and nitrites. Urine microscopy shows 1-2 leukocytes/hpf, too numerous to count erythrocytes, and no casts.

A kidney ultrasound shows normal-appearing kidneys, no hydronephrosis, and no nephrolithiasis.

Which of the following is the most appropriate diagnostic test to perform next?