Chemical composition of open clusters. I. Fe/H from high-resolution spectroscopy. II. C/H and C/Fe in F dwarfs from high-resolution spectroscopy