Japan's industrial output rises 0.5 pct in May