People display consistent recency and primacy effects in behavior and neural activity across perceptual and value-based judgments