The role of attention processes in near transfer of cognitive skills