Inflation forces RBI to make credit costly