Functional outcomes of kyphoplasty for the treatment of osteoporotic and osteolytic vertebral compression fractures