Macro-action-based multi-agent deep reinforcement learning in cooperative tasks