EU vows to protect energy after Nord Stream leaks