Japan hikes interest rates to 31-year high