Development of a smart sensing system for early detection of osteoporosis