U.S. mortgage rates increased last week to an almost two-month high, weighing on home purchase activity.