Response competition as a mediating factor in the frequency-affect relationship