Doubly-excited states in light atoms