England openers set up thrilling finish to fourth Test against India