Dielectric properties and ferroelectric transitions of thiourea