MODELING OF THE DIFFUSION PHENOMENON IN MEDIA WITH MEMBRANES BY GENERALIZED DIFFUSION PROCESSES