The role of common outer diffusion layer in the metal electrodeposition into template nanopores