how curiosity boosts intelligence and memory