Cooperation through communication: Teams and individuals in finitely repeated Prisoners’ dilemma games