Simple conversions between XYZ and RGB or xyY color spaces