Solid state metathesis