Attractiveness of food and avoidance from contamination as conflicting stimuli to habitat selection by fish.