Characteristics of high-order harmonics generated from atoms and aligned molecules with carrier-envelope-phase-stabilized 25-fs pulses