Spherical particle immersed in a nematic liquid crystal: effects of confinement on the director field configurations.