NHS and social care workforce planning is a “joke,” says former health secretary