Generalized rheological model of cavitating condensed media