MLB owners, players' union agree to 5-year labor contract