Casimir-Polder potential of a ground-state molecular system near a dielectric sphere