Historic homes offer window into Dorchester’s past