Parametric optimization of dielectric functions for maximizing nanoscale radiative transfer