Abundance analysis of giant H II regions in nearby spirals