On the way to biofuels from furan: Discriminating Diels-Alder and ring-opening mechanisms