Osmophoresis of a spherical vesicle in a spherical cavity