Taiwan warns Japan against nationalizing islands