Valley home sales up: median price rises 6%