Optical response of the Josephson coupled CuO2-layers in high-Tc superconductors