A freeze-drying approach to the preparation of HgBa2Ca2Cu3O8+x superconductor