Effect of nanoscale dielectric environments on concentration quenching