Jack Dorsey resigns from Twitter