Philip Hammond tells the BBC he plans to resign when Theresa May leaves office next week.