A 26-year-old man presents with sudden onset severe left testicular pain of 2 hours' duration. The left testis is high-riding and very tender, with an absent cremasteric reflex. There is no dysuria or urethral discharge. What is the most appropriate next step?