From Stress to Shape: Equilibrium of Cloister and Cross Vaults