Optimizing preservation for multiple types of historic structures under climate change