Local and global information affect cooperation in networked Prisoner’s dilemma games