On Gegenbauer transforms and forced torsional vibrations of thin spherical shells