Color Gradients in Early-Type Galaxies: Dependence on Environment and Redshift