Synthesis, properties, and mechanism of two novel photoisomerization pyrazolones in the solid state