Lawma: The Power of Specialization for Legal Tasks