t-structures and Barr exactness