Measurement and simulation of the cross sections for nuclide production in 56Fe and natCr targets irradiated with 0.04- to 2.6-GeV protons