A 45-year-old man is evaluated for a 2-week history of progressive pain and swelling of the third and fourth toes of the right foot. He has a rash on the soles of his feet that appeared 4 weeks ago. He reports no fever, back pain, chest pain, dyspnea, dysuria, diarrhea, ocular problems, oral ulcers, Raynaud phenomenon, psoriasis, or photosensitivity. He is sexually active. He takes no medications.

On physical examination, vital signs are normal. There is no nail pitting. Dactylitis and diffuse swelling of the right third and fourth toes are noted. The soles of the feet have yellow-brown vesicles and hyperkeratotic nodules with overlying keratotic crust. The remainder of the examination is normal.

Laboratory studies reveal an erythrocyte sedimentation rate of 35 mm/h; complete blood count with differential and urinalysis are normal.

Radiographs of the toes reveal diffuse soft-tissue swelling of the right third and fourth toes but are otherwise normal.

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