Medium-controlled aggregation of trans-stilbene [4]