The study of high-temperature phase transitions in AgA and AgA · AgNO3 forms. Thermal and X-ray properties