Mortgage rates rise to 7-year high, at 5.05 percent