Theoretical emission line ratios for [Fe III] and [Fe VII] applicable to the optical and infrared spectra of gaseous nebulae