Analysis of mass transfer in composite materials with irregular interfaces