A savage 43 from Jonny Bairstow and a patient 66 from Joe Denly helped England to a laboured but deserved victory in the third and final ODI