Promises to shift care from hospitals to community have not been matched by transfer of spending, analysis finds