Staff and patients at risk from underinvestment in health and social care, says England’s regulator