Learning a Group-Aware Policy for Robot Navigation