Japan's consumer inflation rises to 3-month high in May