The cost of serially chaining two cognitive operations