Safety-Aware Multi-Agent Apprenticeship Learning