Millions of older adults take calcium and vitamin D supplements with the expectation that the pills will protect their bones.