The solar system could collapse because of a passing star, scientists predict