Reuse of an ancient church: thermal aspect for integrated solutions