The energy performance improvement of historic buildings and their environmental sustainability assessment