Effect of a restricted geometry on thermal and dielectric properties of NH4HSO4 ferroelectric