England held their nerve to complete a tense 31-run victory over India