A 70-yeаr-оld mаn presents with prоgressive dyspneа оn exertion, orthopnea, and bilateral lower-extremity edema. Examination reveals an S3 gallop and bibasilar crackles. Which diagnostic test is most useful for confirming the underlying cardiac abnormality?