Solid-state photochromic properties and mechanism of 1-phenyl-3-methyl-4-(3-chlorobenzal)-5-hydroxypyrazole 4-methylthiosemicarbazone.