Structures, binding energies and temperature effects in [Mg(NH3)](2+) clusters