Chemical evolution and zonation of massive sulfide deposits in volcanic terrains