Twitter's Jack Dorsey resigns as CEO