Japan has launched a spacecraft on a five-year mission to explore Mars’ two moons and bring back samples from Phobos, the larger of the pair.