Practical analytical solutions for benchmarking of 2-D and 3-D geodynamic Stokes problems with variable viscosity