The researchers were following a pod of dolphins (pictured) when they saw the rare thresher shark