Radiation fields of intermediate-age stellar populations with binaries as ionizing sources of H II regions