Automata-Conditioned Cooperative Multi-Agent Reinforcement Learning