Danish deputy premier resigns, quits politics