Home sales mark best month in nearly two years