Dynamic thermal and hygrometric simulation of historical buildings: Critical factors and possible solutions