Lawmakers make Juneteenth a legal state holiday