Variation of Curvatures of Subanalytic Spaces and Schläfli-Type Formulas