A refined notion of arithmetically equivalent number fields, and curves with isomorphic Jacobians