Ecoepidemics with group defense and infected prey protected by the herd