Intermediate domains between a local ring and its completion : conditions for normality and factoriality