Particle-hole structure of neutron-rich Be- and C- isotopes