I don't think you can because you'll be mixing and matching IDs for the different records; posts, threads, users, messages, etc. - so you won't get any consistency and quite likely a lot of duplicates.
You'd need some way of importing one into the other whilst at the same time stripping all the IDs and creating them anew during the import.