Differential responses to chemical cues correlate with task performance in ant foragers