Role of the inner copper oxide plane in interlayer Josephson effects in multilayered cuprate superconductors