Optical and electrical study of chromogenic calix(4)arene derivatives