Di Canio resigns as Swindon boss