India vs England: Alastair Cook ends his Test career with a win