It's good to think - but not too much, scientists say