A Mexican judge has sentenced three former members of the Zetas drug cartel for their role in the murder of 72 migrants in the border state of Tamaulipas in 2010.