Japan raises interest rate to 31-year high in effort to curb rising prices