Influence of gel-strength and magnesium doping on the organization of calcite/hydrogel mesocrystal composites