UN was too busy pushing global warming ‘to see pandemic threat’