Abundances of disk and bulge giants from high-resolution optical spectra