Iain Duncan Smith resigns from key ministerial post