Crystal engineering [2+2] photodimerizations via templates and hydrogen bonds: case of styrylthiophenes