McKinsey to lay off hundreds of staff as consultancy work dries up