Confined diffusion in periodic porous nanostructures.