Tunisia's NCA agrees new constitution