Magnetic coupling in superposed type-II superconducting films