Risk transference constraints in optimal reinsurance