Chemical evolution of bulges of spiral galaxies: environmental and morphological influence