Japan warns France that inviting China to next year's G7 summit could affect group’s unity