Hydrogenation of 5-hydroxymethylfurfural to diols: comparison of batch and flow reactors