Dynamical behavior of a generalized eco-epidemiological system with prey refuge