Spin effects in single-electron transistors