Diageo has agreed what it says is a "fair and equitable" settlement for victims of the drug thalidomide that was distributed by a former subsidiary in Australia and New Zealand.