Solid and injectable synthetic bone substitutes for filling of bone defects