Celtics agree to trade point guard Rajon Rondo to the Mavericks