Mortgage rates in the U.S. increased for a second week, adding to costs for homebuyers already facing a precarious economy.