Home prices rise 3.1 percent in Twin Cities