convert from chromaticity coordinates to correlated color temperature (Hernandez Andres)
Useful links