Thermodynamic properties and neutron diffraction studies of silver ferrite AgFeO2