New optical devices based on organic phase change materials : from fluorochromic inks and sensors to smart windows