NHS Doctor: Underfunding puts patient safety at risk