Correlation functions for the Heisenberg and biquadratic pair interactions