Home sales dip, but housing market ends 2016 on high note