Electrostatic field between a conducting sphere and a dielectric-coated electrode