On the Kinematic formula in spaces of constant curvature