Collective dephasing of symmetric multipartite states