Composition, crystal structure and superconducting properties of HgBaCuO and HgBaCaCuO superconductors