Low-temperature structures of C4 and C10 from the Car—Parrinello method: singlet states