A single-crystal-to-single-crystal Diels–Alder reaction with mixed topochemical and topotactic behaviour