Tim Bresnan’s five-wicket haul helped England bowl India out for 158 to win the second Test match by 319 runs.