(C-12)O emission from the envelopes of cool stars in the solar neighborhood