Heat and mass transfer across interfaces in complex nanogeometries.