BBC to lay off hundreds of staff members