Theory of wave propagation in partially saturated double-porosity rocks: a triple-layer patchy model