The Critical Digital Model and Two Case Studies: the Churches of Santa Margherita and Santo Spirito in Bologna