Tucson housing market cooling but goes down in affordability