David Cameron resigns