Home sales, median prices increase in January; housing gains extend into new year