UK government spokeswoman and former Boris Johnson press secretary resigns after footage emerges of her joking