Generation of a CEO-stabilized optical frequency comb with programmable sub-MHz FSR using spectral self-imaging