A Structured Prediction Approach for Label Ranking