Movies set in outer space often bend the rules of physics slightly, but they can be more powerful and immersive if they stick to scientific fact.