Metastable phases of silver and gold in hexagonal structure