New drug may treat both diabetes and bone loss