On the construction of a joint distribution given two discrete conditionals