An intervention used to treat astronauts has relevance for people on the ground with medical conditions that cause repeated fainting, researchers say.