The peer review game: an agent-based model of scientists facing resource constraints and institutional pressures