Bark beetles are killing forests &#8212; but they might be saving them, too