Hierarchical Associative Relations in Pavlovian Conditioning and Instrumental Training