A layered perovskite with alternating Cu-O2 and C-O planes