Dissociating inhibition of return from endogenous orienting of spatial attention: Evidence from detection and discrimination tasks