David Cameron has said that the NHS needs to change to make it work better today and to “avoid a crisis tomorrow”.