Eamon Gilmore quits as Labour leader