Predicting the ideological direction of Supreme Court decisions: ensemble vs. unified case-based model