Analytical and numerical solutions of radially symmetric inward solidification problems in spherical geometry