A Game-Theoretic Approach to Apprenticeship Learning