Inspectors warn care homes and the NHS to do more to look after the teeth of vulnerable residents.