Particle-hole description of carbon 12 and oxygen 16