The best investigation for cardiac tamponade is: