Transient diffusion in a system partitioned by permeable barriers. Application to NMR measurements with a pulsed field gradient | Synapse