Measurement of pion induced neutron-production double-differential cross sections on Fe and Pb at 870 MeV and 2.1 GeV