EU would react quickly if Ukraine is attacked, senior EU official says