Defense behavior of fish against predators and parasites