A comprehensive model for mass transport properties in nanocomposites