Effect of a dielectric coating on quenching in a molecule-nanosphere system