India defeat Pakistan in seven-goal thriller to clinch bronze medal