S&P assigns rating to Kerala; cites weak budgetary, debt metrics