Sigma terms on and off the meson mass shell