What causes the bones of people with osteoporosis to become thin and weak?