Sex differences in spatial abilities and cognitive flexibility in the guppy