From the Jordan Product to Riemannian Geometries on Classical and Quantum States