G7 warns Russia of 'massive consequences' if Ukraine attacked