Japan ramps up G7 security after PM attacks