Spin polarization of light atoms in jellium: Detailed electronic structures