Impedance spectroscopy of semiconducting films on tin electrodes