Healthy diet can prevent osteoporosis