Local health and social care agencies must share responsibility for delayed discharge of older people from acute hospitals, rather than simply assuming it is a problem for social services departments, the chief inspector of social services has said.