The correlation function in Wilson's theory of phase transitions: Above and below the transition