Transpose RGB2XYZ and XYZ2RGB matrices.