Image charges in spherical geometry: Application to colloidal systems