Optical conductivity of CuO2 infinite-layer films