Fluctuation theorems for multipartite processes