Spherical shell tectonics: buckling of subducting lithosphere