Distribution of metals and multitemperature gas in the cores of nearby galaxy groups