ISIS considers "unbelieving" captive women and girls to be "slaves" that can be given as gifts, sold or forced to have sex, according to a pamphlet it produced.