Injectable hydrogels for bone and cartilage repair