The best times to do major energy retrofits