Ukraine has been bracing for Russian attacks on its energy infrastructure ahead of winter.