Metallicity gradients in early-type galaxies