The mortgage rate you get depends partly on your credit score. Here’s what to expect