average time to live in a house before selling