[2+2] photodimerization of 1-aryl-4-pyridylbutadienes through cation–π interactions