UV-induced isomerisation and ring transformation of (E)-3-arylidene-1-thiochromanones and -1-thioflavanones