The impact of solid solution composition on kinetics and mechanism of [2 + 2] photodimerization of cinnamic acid derivatives