Aggregation control of photochromic spiropyrans in Langmuir-Blodgett films