Global entanglement for multipartite quantum states