Tunable pure spin currents in a triple-quantum-dot ring