Multipartite quantum correlations in open quantum systems