Colour and in vitro quality attributes of walnuts from different growing conditions correlate with key precursors of primary and secondary metabolism.