Evolution of intelligence in our ancestors may have come at a cost