Resistance and structure of metallic multilayers