Explain the risk factors for osteoporosis.