How do I transform between CIE XYZ and a particular set of RGB primaries?