Doctors have warned of "extremely dangerous" delays to cancer care due to staffing shortages.