Demand for unplanned and urgent care is outstripping funding, watchdog warns