Embattled Scottish Labour leader Richard Leonard quits