Stringy $E$-functions of canonical toric Fano threefolds and their applications