This town is selling historic homes for $1 — but there's a catch