Structural and thermal studies of PVA:NH4I