Scottish Conservative party leader resigns