Thin film-modified electrodes: a model for the charge transfer resistance in electrochemical impedance spectroscopy