Superconductivity and interlayer coupling in ultrathin artificially layered cuprates