sRGB <-> Linear for floating point and integer types