Density fluctuations in thermal inflation and non-Gaussianity