With interest rates rising, a good credit score can help buyers get a loan at the best rates