The United Arab Emirates has launched its first Mars-bound spacecraft.