Some problems of diffusion theory in nanostructured materials