Magneto-optical trapping of barium