An analytical solution for stresses and deformations of tunnels in a non-uniform stress field based on strain-softening model and Mogi-Coulomb criterion