3D FEM characterization of a switched reluctance motor from direct experimental determination of the material magnetization curve